package geektime.spring.springbucks.customerservice.model;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.joda.money.Money;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Coffee
        implements Serializable {

    private Long id;
    private String name;
    private Money price; // 先用BigDecimal，下次换Money
    private Date createTime;
    private Date updateTime;
}